package com.ruoyi.system.mapper;

import com.mybatisflex.core.BaseMapper;
import com.ruoyi.system.domain.SysDictType;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 字典表 数据层
 *
 * @author ruoyi
 */
@Mapper
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {
    /**
     * 自定义批量插入方法，确保每个记录都有ID
     */
    int insertBatchWithId(@Param("list") List<SysDictType> list);
    
    /**
     * 批量插入或更新
     */
    int insertOrUpdateBatch(@Param("list") List<SysDictType> list);
}
